<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<title>建设工程检测协议书检测依据</title>
<script type="text/javascript">
function chk(){
	
	location.href = '${ctx}/contract/document.action';
}
</script>
</head>
<body>
	<form action="${ctx }/contract/according!save.action?decorator=${decorator}&confirm=${confirm}" method="post"
		id="inputForm" class='yform'>
		<input name="projectId" value="${projectId}" type="hidden">
		<input name="cid" value="${cid}" type="hidden">
		<pt:code category="5000" name="accordingLabelValue" toScope="request"></pt:code>
		<table>
			<c:forEach items="${accordingLabelValue }" var="a"
				varStatus="aqstatus">
				<tr>
					<td>${aqstatus.count }</td>
					<td><input type="checkbox"
						name="acc[${aqstatus.count }].value" value="${a.value }"
<c:forEach items='${accordingList }' var='aod'><c:if test='${aod.index == a.value }'>checked="true"</c:if></c:forEach> >
						<input type="hidden" name="acc[${aqstatus.count }].label"
						value="${a.label }"> ${a.label }</td>
				</tr>
			</c:forEach>
		</table>
		<div class="type-button">
			<input type="submit" value="下一步"> 
			<c:if test="${decorator == null }">
			<input type="button" onclick="chk();" value="取消">
			</c:if>
			<c:if test="${decorator != null }">
			<input type="button" onclick="window.parent.close()" value="关闭">
			</c:if>
		</div>
	</form>

</body>
</html>